#pragma once

#include "DX include.h"
#include "SpriteInfo.h"
#include "Structures.h"
#include "Definitions.h"

class Sprite
{
private:
	//Matrices used to move, scale, and rotate any sprite object
	D3DXMATRIX spriteMat, spriteScale, spriteRotate, spriteTranslate;
	ID3DXSprite*		sprite;								//Sprite object (only one is needed)

public:
	Sprite();
	void Init();

	//////////////////////////////////////////////////////////////////////////
	// Name:		Draw
	// Parameters:	SpriteInfo struct that holds all data of sprite,
	//				including the texture
	// Return:		void
	// Description: Draws the current sprites with their default values
	//////////////////////////////////////////////////////////////////////////
	void Draw(SpriteInfo &);

	void Release();
};